class OrderPersonEntity {
	String? msg;
	List<OrderPersonData>? data;
	String? code;

	OrderPersonEntity({this.msg, this.data, this.code});

	OrderPersonEntity.fromJson(Map<String, dynamic> json) {
		msg = json['Msg'];
		if (json['Data'] != null) {
			data = <OrderPersonData>[];(json['Data'] as List).forEach((v) { data!.add(new OrderPersonData.fromJson(v)); });
		}
		code = json['Code'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['Msg'] = this.msg;
		if (this.data != null) {
      data['Data'] =  this.data!.map((v) => v.toJson()).toList();
    }
		data['Code'] = this.code;
		return data;
	}
}

class OrderPersonData {
	int? iD;
	String? name;

	OrderPersonData({this.iD, this.name});

	OrderPersonData.fromJson(Map<String, dynamic> json) {
		iD = json['ID'];
		name = json['Name'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['ID'] = this.iD;
		data['Name'] = this.name;
		return data;
	}
}
